package com.ybwh.springboot2.clearing.mapper;

import com.ybwh.springboot2.clearing.entity.Area;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.Map;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author fanbeibei
 * @since 2020-04-10
 */
public interface AreaMapper extends BaseMapper<Area> {


    /**
     * 分页查询
     *
     * @param page 分页信息
     * @param map 参数
     *
     * @return
     */
    IPage<Area> selectPageVo(Page<Area> page, @Param("map") Map<String, Object> map);

}
